<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试拦截器</title>
    <script src="net.js" type="javascript" ></script>
    <script >
        function test1(text,id) {
            console.log("123")
            document.getElementById(id).innerHTML=text
        }
    </script>
</head>
<body>
<h1 id="zxc" style="align-content: center">标题</h1>
<button style="height: 50px;width: 200px" onclick="test1('12345678','zxc')" >按钮</button>
<br>
<button style="height: 50px;width: 200px" onclick="printLog()" >测试</button>


</body>
</html>